package com.shop.cereshop.app.param.nearby;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "NearbySearchParam", description = "附近用户搜索参数")
public class NearbySearchParam {
    @ApiModelProperty("页码(从1开始)")
    private Integer page;

    @ApiModelProperty("每页大小")
    private Integer pageSize;

    @ApiModelProperty("搜索距离(公里)，默认5")
    private Double distance;

    @ApiModelProperty("性别(男/女)")
    private String sex;

    @ApiModelProperty("最小年龄")
    private Integer ageMin;

    @ApiModelProperty("最大年龄")
    private Integer ageMax;

    @ApiModelProperty("是否会员(true/false)")
    private Boolean member;

    @ApiModelProperty("仅在线(true/false)")
    private Boolean onlineOnly;
}


